#!/user/bin/env python3
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# @File : message_page.py
# @Time : 2022-08-03 16:58
# @Author : mojin
# @Email : 397135766@qq.com
# @Software : PyCharm
#-------------------------------------------------------------------------------

from base.Ui2By import Ui2By
class Message_page:
    # SearchButton = (Ui2By.RESOURCEID, "com.tencent.mm:id/j5t")  # 消息页搜索按钮
    # SearchBox = (Ui2By.RESOURCEID, "com.tencent.mm:id/cd7")  # 搜索框输入
    # SelectPersonnel = [Ui2By.TEXT, '微信号: *']  # 搜索框输入
    #
    # EnterCall = (Ui2By.RESOURCEID, "com.tencent.mm:id/b3q")  # 输入消息右侧的加号+  拉起操作菜单
    # VideoCall = (Ui2By.TEXT, "视频通话")  # 视频通话拉起选择音频或视频通话
    # VoiceCall = (Ui2By.TEXT, "语音通话")  # 语音通话
    # Answer = (Ui2By.DESCRIPTION, "接听")  # 接听
    # hang_up = (Ui2By.DESCRIPTION, "挂断")  # 挂断

    MessageInputBox=(Ui2By.XPATH, '//android.widget.EditText')  # 消息输入框
    SendOut=(Ui2By.RESOURCEID, 'com.tencent.mm:id/b8k')  # 发送按钮

    #最后一条消息
    LastMessage=(Ui2By.XPATH,'//*[@resource-id="com.tencent.mm:id/b79"]/android.widget.RelativeLayout[last()]/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.TextView')



